package com.hhkj.admin.sale.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BizBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 *
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "s_sale_account")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SaleAccount extends BizBaseEntity {

    /** 余额 */
    @TableField(value = "balance_price")
    private BigDecimal balancePrice;

    /** 总佣金 */
    @TableField(value = "total_price")
    private BigDecimal totalPrice;

    /** 邀请人数 */
    @TableField(value = "invited_amount")
    private Integer invitedAmount;

    /** 累计提现总额 */
    @TableField(value = "withdrawal_price")
    private BigDecimal withdrawalPrice;

    /** 销售id */
    @TableField(value = "sale_id")
    private Long saleId;
}